package com.jianqiao.delivery.pay.service;

import com.nimbusds.jose.JOSEException;
import com.ruoyi.common.core.domain.AjaxResult;

import java.io.IOException;
import java.security.KeyManagementException;
import java.security.KeyStoreException;
import java.security.NoSuchAlgorithmException;
import java.security.UnrecoverableKeyException;
import java.security.cert.CertificateException;
import java.security.spec.InvalidKeySpecException;

/**
 * author: cyx
 * create: 2024/11/22 17:40
 **/
public interface R2PService {
    AjaxResult initiateR2P() throws UnrecoverableKeyException, CertificateException, NoSuchAlgorithmException, KeyStoreException, IOException, KeyManagementException, InvalidKeySpecException, JOSEException, JOSEException;

    void confirmR2P();

    void SSLCon() throws UnrecoverableKeyException, CertificateException, NoSuchAlgorithmException, KeyStoreException, IOException, KeyManagementException;
}
